package com.bjc2.facade;

/**
 * @program: DesignPattern
 * @description:
 * @author: bjc
 * @create: 2022-04-05 21:21
 */
public class Client {

    public static void main(String[] args) {
        //创建只能音箱对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        //控制家电
        facade.say("打开家电");
        facade.say("关闭家电");
    }
}
